import store from '../store'
export default {
  methods: {
    isPermission(val) {
      if (store.getters.state) {
        return store.getters.isPermission.indexOf(val) !== -1
      }
    }
  }
}
